home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Tool Chest / Dev.CD Feb 97 TC.toast / Sample Code / Interapplication Communication / MenuScripter 4.0 / Sources / MSAEGetDataSize.h < prev    next >
Encoding:
Text File  |  1996-07-09  |  627 b   |  23 lines  |  [TEXT/CWIE]

  1. // MSGetDataSize.h
  2. //
  3. // Original version by Jon Lansdell and Nigel Humphreys.
  4. // 4.0 and 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1996, all rights reserved.
  6.  
  7. #ifndef __MSAEGETDATASIZE__
  8. #define __MSAEGETDATASIZE__
  9.  
  10. #include <AppleEvents.h>
  11. #include <AEObjects.h>
  12. #include <AERegistry.h>
  13.  
  14. #include "MSToken.h"
  15.  
  16. pascal OSErr    DoGetDataSize(const AppleEvent *theAppleEvent, AppleEvent *reply, long refcon);
  17.  
  18. OSErr            GetDataSizeTextToken(TextToken* theToken, AEDesc* result);
  19. OSErr            GetDataSizeTextDesc(AEDesc* textDesc, AEDesc* result);
  20. OSErr            GetDataSizeDesc(AEDesc* aDesc, DescType reqType, AEDesc* result);
  21.  
  22. #endif
  23.